json5 = require 'json5'
{writeFileSync} = require 'fs'
{dirname,join} = require 'path'

writeFileSync(
  join(dirname(__dirname),'config/ver.mjs')
  "export default "+json5.stringify(process.versions)
)
process.exit()
